package com.bjsxt.service.com.bjsxt;


import org.apache.zookeeper.KeeperException;

import java.io.IOException;


//服务端启动
public class ServerApplication {
    public static void main(String[] args) throws IOException, InterruptedException, KeeperException, ClassNotFoundException {
        Class.forName("com.bjsxt.rpc.BjsxtRpcFactory");

      /*  //创建一个服务对象
        UserService userService = new UserServiceImpl();
        //注册
        BjsxtRpcFactory.registerService(UserService.class,userService);*/
    }
}
